package net.maku.member.convert;

import net.maku.member.entity.MemberTagEntity;
import net.maku.member.vo.MemberTagVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 会员标签
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-16
*/
@Mapper
public interface MemberTagConvert {
    MemberTagConvert INSTANCE = Mappers.getMapper(MemberTagConvert.class);

    MemberTagEntity convert(MemberTagVO vo);

    MemberTagVO convert(MemberTagEntity entity);

    List<MemberTagVO> convertList(List<MemberTagEntity> list);

}